<template>
    <view class="top">
      <text class="text">登录后可同步账户购物车中的商品</text>
      <view class="btn"><span @click="login">登录</span></view>
    </view>
</template>

<script>
export default {
  methods: {
    login() {
		uni.navigateTo({
			url:"/pages/user/Login"
		})
    },
  },
};
</script>
<style lang="scss" scoped>
.top {
  width: 100vw;
  height: 100rpx;
  text-align: center;
  background-color: white;
  border-bottom-left-radius: 20rpx;
  border-bottom-right-radius: 20rpx;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  font-size: 28rpx;
  font-weight: 500;
}
.text{
	display: block;
}
.btn {
  width: 120rpx;
  height: 60rpx;
  line-height: 60rpx;
  color: white;
  border-radius: 40rpx;
  background-color: rgb(244, 44, 16);
}
</style>